<ion-view class="color-blue-dark" title="工作签到" cache-view="false" >
 <div  class="content-color sub-header-sign">
    <div class="row " style="margin-top: 8px;height: 180px;">
      <div class="col col-50 text-center">
        <div class="sign-img">
            <img width=75 height=75 style="margin-top: 15px" src='img/default-avatar.png'/>
            <!--<img width=75 height=75 style="margin-top: 15px" ng-src="{{'data:image/png;base64,'+userImage || 'img/default-avatar.png'}}">-->
        </div>
        <!-- 部门-->
        <div class="text-white-middle" >{{userDepartment}}</div>
        <!-- 人员-->
        <div class="text-white-middle" style="margin-top: 5px;">{{userName}}</div>
      </div>
      <div class="col col-50 text-center">
        <!-- 年月日-->
        <div class="text-white-middle" >{{year}}年{{month}}月{{date}}日</div>
        <!-- 星期-->
        <div class="text-white-middle" >星期{{day}}</div>
        <!-- 时间-->
        <div class="text-white-big" style="margin-top: 30px">{{time}}&nbsp;&nbsp;<a class="text-green-middle">{{apm}}</a></div>
      </div>
    </div>
    <div class="text-center"  >
      <div class="sign-button">
        <button class="button button-green-circle"  ng-click="signIn()">一键签到</button>

      </div>
    </div>
    <a class="button button-blue-big " style="margin-top: 15px" ng-click="changeMonth()">{{change_year}}年{{change_month}}月</a>

</div>
  <ion-content  class="has-header content-color has-sub-header-sign" >
      <!--{{lastMonth}}&#45;&#45;{{thisMonth}}-->
     <!--<ion-list>-->
        <!--<ion-item class="row" ng-repeat="sign in sign_list">-->
          <!--<div class="col col-50 text-center" >{{sign.time | date:"yyyy-MM-dd HH:mm:ss"}}</div>-->
          <!--<div class="col col-50 text-center" >{{sign.position}}</div>-->
        <!--</ion-item>-->
    <!--</ion-list>-->
    <div class="list">
      <div class="row" ng-repeat="sign in sign_list">
        <div class="col col-50 text-center text-black-ellipsis" >{{sign.AttendanceOn | date:"MM-dd HH:mm"}}</div>
        <div class="col col-50 text-center text-black-ellipsis" >{{sign.AttendancePlace}}</div>
      </div>
    </div>
  </ion-content>

</ion-view>
